package org.meluk.billboard.util;

public class RandomUtils {

    public static int generateInt(int min, int max) {
        if (max < min) {
            throw new IllegalArgumentException("First argument should be less then second");
        }
        max = max + 1;
        return (int) Math.floor(Math.random() * (max - min) + min);
    }
}
